.tagInputarea {
  min-width: 0;
  .tagInputareaIuput {
    border-radius: 3px;
    border: 1px solid #ccc;
    min-height: 34px;
    overflow: auto;
    &:not(.active) {
      border-color: #ccc !important;
    }
    &.hasRightIcon {
      border-radius: 3px 0 0 3px;
    }
  }
  .rightIcon {
    font-size: 20px;
    color: #9e9e9e;
    height: 34px;
    line-height: 33px;
    padding: 0 7px;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 3px 3px 0;
  }
  .CodeMirror {
    font-family: inherit !important;
    box-sizing: border-box;
    height: auto;
    .CodeMirror-lines {
      padding: 6px 0;
    }
    .CodeMirror-line {
      padding: 0 10px;
    }
    .columnTagCon {
      position: relative;
      display: inline-flex;
      box-sizing: border-box;
      padding: 2px 4px;
      max-width: 100%;
    }
    .columnTag {
      position: relative;
      display: inline-flex;
      box-sizing: border-box;
      cursor: pointer;
      height: 24px;
      font-size: 12px;
      border: 1px solid #90caf9;
      border-radius: 24px;
      .columnName,
      .columnValue {
        display: inline-block;
        height: 22px;
        line-height: 22px;
        padding: 0 10px;
        overflow: hidden;
      }
      .columnName {
        color: #2196f3;
        background-color: rgba(33, 150, 243, 0.06);
      }
      .columnValue {
        color: #fff;
        border-radius: 0 22px 22px 0;
        background-color: #249eff;
        .ellipsis {
          max-width: 9em;
        }
      }
      &.onlytag {
        margin-right: 6px;
        &:after {
          content: ',';
          position: absolute;
          right: -6px;
          top: 6px;
        }
      }
      &.deleted {
        border-color: #f44336;
        .columnName {
          color: #f44336;
          background-color: rgba(244, 67, 54, 0.06);
        }
        &:hover {
          border-color: #f44336;
          .columnName {
            color: #f44336;
            background-color: rgba(244, 67, 54, 0.12);
          }
        }
      }
      &:hover {
        border-color: #ddd;
        .columnName {
          color: #9e9e9e;
          background-color: rgba(158, 158, 158, 0.06);
        }
        .columnValue {
          background-color: #bdbdbd;
        }
      }
    }
    .operator {
      margin: 0 4px;
    }
  }
}
